﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="indexHead" ContentPlaceHolderID="HeadContent" runat="server">

</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    $(function () {
        $("#HyperLink1").click(function() {
        var url = "/Server/Client/";
        window.open(url, 'Клиент', 'width=400, height=300, scrollbars=1, status=1');
        });
});
$(function () {
    $("#Button1").click(function () {
        var url = "/Server/Operator/";
        window.open(url, 'Пульт оператора', 'width=400, height=300, scrollbars=1, status=1');
    });
});
</script>
    <h2>Main</h2>
    <input type="button" id="HyperLink1" value="Связь с оператором" />
    <input type="button" id="Button1" value="Пуль оператора" />
    
    
</asp:Content>
